package com.hyh.order;


import com.hyh.DefaultFeignConfiguration;
import com.hyh.feign.clients.CartClient;
import com.hyh.feign.clients.ProductClient;
import com.hyh.feign.clients.UserClient;
import com.hyh.feign.domain.Cart;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
@EnableFeignClients(clients = {ProductClient.class, CartClient.class, UserClient.class},defaultConfiguration = DefaultFeignConfiguration.class)
public class OrderApplication {
    public static void main(String[] args) {
        SpringApplication.run(OrderApplication.class, args);
    }
}
